export default function(url:string,width:number){ // 图片等比列
	const img_url = url;
	const img = new Image();
	img.src = img_url;
	return Math.ceil(img.height/img.width * width)+'px';
}